﻿Public Class registroVO

    Private _id_registro As Integer
    Private _num_registro As Integer
    Private _data_registro As Nullable(Of DateTime) = Nothing
    Private _autoridade As autoridadeVO
    Private _requisicao As String
    Private _data_acionamento As Nullable(Of DateTime) = Nothing
    Private _natureza As naturezaVO
    Private _endereco As String
    Private _investigado As String
    Private _vitima As String
    Private _provas As String
    Private _observacao As String
    Private _destino As destinoVO
    Private _municipio As New municipioVO
    Private _deslocamento As Integer
    Private _responsavel_registro As usuarioVO
    Private _usuario As usuarioVO
    Private _usuario_designado As DateTime
    Private _data_requisicao_laudo As Nullable(Of DateTime) = Nothing
    Private _data_prazo_laudo As Nullable(Of DateTime) = Nothing
    Private _data_conclusao_laudo As Nullable(Of DateTime) = Nothing
    Private _data_entrega_laudo As Nullable(Of DateTime) = Nothing
    Private _relatorio_recibo As relatorio_reciboVO
    Private _campo_entrega_laudo As String
    Private _data_alteracao As Nullable(Of DateTime) = Nothing
    Private _materialRecibo As String
    Private _geroulaudo As Boolean
    Private _nome_diretorio As String
    Private _data_criacao As Nullable(Of DateTime) = Nothing
    Private _anulado As Boolean
    Private _id_relatorio_pa As Integer
    Private _referencia As String
    '-------------------------------------
    ' MÉTODO CONSTRUTOR SEM PARAMETROS
    '-------------------------------------

    Sub New()
        _id_registro = Nothing
        _num_registro = Nothing
        _data_registro = Nothing
        _autoridade = Nothing
        _requisicao = Nothing
        _data_acionamento = Nothing
        _natureza = Nothing
        _endereco = Nothing
        _investigado = Nothing
        _vitima = Nothing
        _provas = Nothing
        _observacao = Nothing
        _destino = Nothing
        _municipio = Nothing
        _deslocamento = Nothing
        _responsavel_registro = Nothing
        _usuario = Nothing
        _usuario_designado = Nothing
        _data_requisicao_laudo = Nothing
        _data_prazo_laudo = Nothing
        _data_conclusao_laudo = Nothing
        _data_entrega_laudo = Nothing
        _relatorio_recibo = Nothing
        _campo_entrega_laudo = Nothing
        _data_alteracao = Nothing
        _materialRecibo = Nothing
        _geroulaudo = Nothing
        _nome_diretorio = Nothing
        _data_criacao = Nothing
        _anulado = Nothing
        _id_relatorio_pa = Nothing
        _referencia = Nothing

    End Sub

    '-------------------------------------
    ' MÉTODO CONSTRUTOR COM PARAMETROS
    '-------------------------------------

    Sub New(ByVal id_registro As Integer, _
            ByVal num_registro As Integer, _
            ByVal data_registro As DateTime, _
            ByVal autoridade As autoridadeVO, _
            ByVal requisicao As String, _
            ByVal data_acionamento As DateTime, _
            ByVal natureza As naturezaVO, _
            ByVal endereco As String, _
            ByVal investigado As String, _
            ByVal vitima As String, _
            ByVal provas As String, _
            ByVal observacao As String, _
            ByVal destino As destinoVO, _
            ByVal municipio As municipioVO, _
            ByVal deslocamento As Integer, _
            ByVal responsavel_registro As usuarioVO, _
            ByVal usuario As usuarioVO, _
            ByVal usuario_designado As DateTime, _
            ByVal data_prazo_laudo As DateTime, _
            ByVal data_requisicao_laudo As DateTime, _
            ByVal data_conclusao_laudo As DateTime, _
            ByVal data_entrega_laudo As DateTime, _
            ByVal relatorio_recibo As relatorio_reciboVO, _
            ByVal campo_entrega_laudo As String, _
            ByVal data_alteracao As DateTime, _
            ByVal materialRecibo As String, _
            ByVal gerou_laudo As Boolean, _
            ByVal nome_diretorio As String, _
            ByVal data_criacao As DateTime, _
            ByVal anulado As Boolean, _
            ByVal id_relatorio_pa As Integer, _
            ByVal referencia As String)

        _id_registro = id_registro
        _num_registro = num_registro
        _data_registro = data_registro
        _autoridade = autoridade
        _requisicao = requisicao
        _data_acionamento = data_acionamento
        _natureza = natureza
        _endereco = endereco
        _investigado = investigado
        _vitima = vitima
        _provas = provas
        _observacao = observacao
        _destino = destino
        _municipio = municipio
        _deslocamento = deslocamento
        _responsavel_registro = responsavel_registro
        _usuario = usuario
        _usuario_designado = usuario_designado
        _data_prazo_laudo = data_prazo_laudo
        _data_requisicao_laudo = data_requisicao_laudo
        _data_conclusao_laudo = data_conclusao_laudo
        _data_entrega_laudo = data_entrega_laudo
        _relatorio_recibo = relatorio_recibo
        _campo_entrega_laudo = campo_entrega_laudo
        _data_alteracao = data_alteracao
        _materialRecibo = materialRecibo
        _geroulaudo = gerou_laudo
        _nome_diretorio = nome_diretorio
        _data_criacao = data_criacao
        _anulado = anulado

    End Sub

    Public Property ID_REGISTRO() As Integer
        Get

            Return _id_registro

        End Get
        Set(ByVal value As Integer)

            _id_registro = value

        End Set
    End Property

    Public Property NUM_REGISTRO() As Integer
        Get

            Return _num_registro

        End Get
        Set(ByVal value As Integer)

            _num_registro = value

        End Set
    End Property

    Public Property DATA_REGISTRO() As Nullable(Of DateTime)
        Get

            Return _data_registro

        End Get
        Set(ByVal value As Nullable(Of DateTime))

            _data_registro = value

        End Set
    End Property

    Public Property AUTORIDADE() As autoridadeVO
        Get

            Return _autoridade

        End Get
        Set(ByVal value As autoridadeVO)

            _autoridade = value

        End Set
    End Property

    Public Property REQUISICAO() As String
        Get

            Return _requisicao

        End Get
        Set(ByVal value As String)

            _requisicao = value

        End Set
    End Property


    Public Property DATA_ACIONAMENTO() As Nullable(Of DateTime)
        Get

            Return _data_acionamento

        End Get
        Set(ByVal value As Nullable(Of DateTime))

            _data_acionamento = value

        End Set
    End Property

    Public Property NATUREZA() As naturezaVO
        Get

            Return _natureza

        End Get
        Set(ByVal value As naturezaVO)

            _natureza = value

        End Set
    End Property



    Public Property ENDERECO() As String
        Get

            Return _endereco

        End Get
        Set(ByVal value As String)

            _endereco = value

        End Set
    End Property

    Public Property INVESTIGADO() As String
        Get

            Return _investigado

        End Get
        Set(ByVal value As String)

            _investigado = value

        End Set
    End Property

  

    Public Property VITIMA() As String
        Get

            Return _vitima

        End Get
        Set(ByVal value As String)

            _vitima = value

        End Set
    End Property


    Public Property PROVAS() As String
        Get

            Return _provas

        End Get
        Set(ByVal value As String)

            _provas = value

        End Set
    End Property


    Public Property OBSERVACAO() As String
        Get

            Return _observacao

        End Get
        Set(ByVal value As String)

            _observacao = value

        End Set
    End Property


    Public Property DESTINO() As destinoVO
        Get

            Return _destino

        End Get
        Set(ByVal value As destinoVO)

            _destino = value

        End Set
    End Property

    Public Property MUNICIPIO() As municipioVO
        Get

            Return _municipio

        End Get
        Set(ByVal value As municipioVO)

            _municipio = value

        End Set
    End Property

    Public Property DESLOCAMENTO() As Integer
        Get

            Return _deslocamento

        End Get
        Set(ByVal value As Integer)

            _deslocamento = value

        End Set
    End Property

    Public Property RESPONSAVEL_REGISTRO() As usuarioVO
        Get

            Return _responsavel_registro

        End Get
        Set(ByVal value As usuarioVO)

            _responsavel_registro = value

        End Set
    End Property

    Public Property USUARIO() As usuarioVO
        Get

            Return _usuario

        End Get
        Set(ByVal value As usuarioVO)

            _usuario = value

        End Set
    End Property

    Public Property USUARIO_DESIGNADO() As DateTime
        Get
            Return _usuario_designado
        End Get
        Set(ByVal value As DateTime)
            _usuario_designado = value
        End Set
    End Property


    Public Property DATA_REQUISICAO_LAUDO() As Nullable(Of DateTime)
        Get

            Return _data_requisicao_laudo

        End Get
        Set(ByVal value As Nullable(Of DateTime))

            _data_requisicao_laudo = value

        End Set
    End Property



    Public Property DATA_PRAZO_LAUDO() As Nullable(Of DateTime)
        Get

            Return _data_prazo_laudo

        End Get
        Set(ByVal value As Nullable(Of DateTime))

            _data_prazo_laudo = value

        End Set
    End Property

    Public Property DATA_CONCLUSAO_LAUDO() As Nullable(Of DateTime)
        Get

            Return _data_conclusao_laudo

        End Get
        Set(ByVal value As Nullable(Of DateTime))

            _data_conclusao_laudo = value

        End Set
    End Property

    Public Property DATA_ENTREGA_LAUDO() As Nullable(Of DateTime)
        Get

            Return _data_entrega_laudo

        End Get
        Set(ByVal value As Nullable(Of DateTime))

            _data_entrega_laudo = value

        End Set
    End Property


    Public Property RELATORIO_RECIBO() As relatorio_reciboVO
        Get

            Return _relatorio_recibo

        End Get
        Set(ByVal value As relatorio_reciboVO)

            _relatorio_recibo = value

        End Set
    End Property

    Public Property CAMPO_ENTREGA_LAUDO() As String
        Get

            Return _campo_entrega_laudo

        End Get
        Set(ByVal value As String)

            _campo_entrega_laudo = value

        End Set
    End Property

    Public Property DATA_ALTERACAO() As DateTime
        Get
            Return _data_alteracao
        End Get
        Set(ByVal value As DateTime)
            _data_alteracao = value
        End Set
    End Property

    Public Property MATERIAL_RECIBO() As String
        Get
            Return _materialRecibo
        End Get
        Set(ByVal value As String)
            _materialRecibo = value
        End Set
    End Property

    Public Property GEROULAUDO() As Boolean
        Get

            Return _geroulaudo

        End Get
        Set(ByVal value As Boolean)

            _geroulaudo = value

        End Set
    End Property

    Public Property NOME_DIRETORIO() As String
        Get

            Return _nome_diretorio

        End Get
        Set(ByVal value As String)

            _nome_diretorio = value

        End Set
    End Property

    Public Property DATA_CRIACAO() As DateTime
        Get
            Return _data_criacao

        End Get
        Set(ByVal value As DateTime)

            _data_criacao = value

        End Set
    End Property
    Public Property ANULADO() As Boolean
        Get
            Return _anulado
        End Get
        Set(ByVal value As Boolean)
            _anulado = value
        End Set
    End Property

    Public Property ID_RELATORIO_PA() As Integer
        Get
            Return _id_relatorio_pa
        End Get
        Set(ByVal value As Integer)
            _id_relatorio_pa = value
        End Set
    End Property

    Public Property REFERENCIA() As String
        Get
            Return _referencia
        End Get
        Set(ByVal value As String)
            _referencia = value
        End Set
    End Property
End Class
